home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / bibtex / contrib / abstyles / apreambl.tex < prev    next >
Text File  |  1992-09-06  |  5KB  |  140 lines

  1. % This is APREAMBL.TEX, version 1.10e, written by Hans-Hermann Bode
  2. % (HHBODE@DOSUNI1.BITNET), for the BibTeX `adaptable' family, version 1.10.
  3. % See the file APREAMBL.DOC for a detailed documentation.
  4.  
  5. % This program is distributed WITHOUT ANY WARRANTY, express or implied.
  6.  
  7. % Copyright (C) 1991, 1992 Hans-Hermann Bode
  8.  
  9. % Permission is granted to make and distribute verbatim copies of this
  10. % document provided that the copyright notice and this permission notice
  11. % are preserved on all copies.
  12.  
  13. % Permission is granted to copy and distribute modified versions of this
  14. % document under the conditions for verbatim copying, provided that the
  15. % entire resulting derived work is distributed under the terms of a
  16. % permission notice identical to this one.
  17. \expandafter\ifx\csname__APREAMBLE_TEX\endcsname\relax \else\endinput\fi
  18. \expandafter\chardef\csname__APREAMBLE_TEX\endcsname=\the\catcode`\@
  19. \catcode`\@=11
  20. \gdef\abtype@english{%
  21. \def\abtype##1##2{%
  22. \ifcase##1{\sc##2}\or``##2''\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
  23.  
  24. \gdef\abtype@german{%
  25. \def\abtype##1##2{%
  26. \ifcase##1{\sc##2}\or\glqq##2\grqq\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
  27. \ifabfull
  28.  
  29. \gdef\abetc@english{
  30.  
  31. \def\abphrase##1{%
  32. \ifcase##1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
  33. { of }\or{ in }\or{In }\or{volume}\or{Volume}\or{number}\or{Number}\or%
  34. { edition}\or{pages}\or{page}\or{chapter}\or%
  35. {Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
  36.  
  37. \def\abmonth##1{\ifcase##1\or January\or February\or March\or April\or May\or
  38.   June\or July\or August\or September\or October\or November\or December\fi}
  39.  
  40. \def\abedition##1{\ifcase##1\or First\or Second\or Third\or Fourth\or Fifth\or
  41.   Sixth\or Seventh\or Eighth\or Ninth\or Tenth\else?\fi}
  42.  
  43. \def\abchapter##1{\ifcase##1Section\or Paragraph\or Appendix\or Part\fi}
  44.  
  45. }
  46.  
  47. \else
  48.  
  49. \gdef\abetc@english{
  50.  
  51. \def\abphrase##1{%
  52. \ifcase##1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
  53. { of }\or{ in }\or{In }\or{vol.}\or{Vol.}\or{no.}\or{No.}\or%
  54. { ed.}\or{pp.}\or{p.}\or{ch.}\or%
  55. {Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
  56.  
  57. \def\abmonth##1{\ifcase##1\or Jan.\or Feb.\or Mar.\or Apr.\or May\or June\or
  58.   July\or Aug.\or Sept.\or Oct.\or Nov.\or Dec.\fi}
  59.  
  60. \def\abedition##1{\ifcase##1\or 1st\or 2nd\or 3rd\or 4th\or 5th\or
  61.   6th\or 7th\or 8th\or 9th\or 10th\else?\fi}
  62.  
  63. \def\abchapter##1{\ifcase##1Sec.\or Par.\or App.\or Part\fi}
  64.  
  65. }
  66.  
  67. \fi
  68. \ifabfull
  69.  
  70. \gdef\abetc@german{
  71.  
  72. \def\abphrase##1{%
  73. \ifcase##1{ und }\or{}\or{ und andere}\or{ (Herausgeber)}\or{ (Herausgeber)}\or%
  74. { aus }\or{ in }\or{In }\or{Band}\or{Band}\or{Nummer}\or{Nummer}\or%
  75. { Auf{\kern0pt}lage}\or{Seiten}\or{Seite}\or{Kapitel}\or%
  76. {Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
  77.  
  78. \def\abmonth##1{\ifcase##1\or Januar\or Februar\or M\"arz\or April\or Mai\or
  79.   Juni\or Juli\or August\or September\or Oktober\or November\or Dezember\fi}
  80.  
  81. \def\abedition##1{\ifcase##1\or Erste\or Zweite\or Dritte\or Vierte\or F\"unf\-te\or
  82.   Sechste\or Siebte\or Achte\or Neunte\or Zehnte\else?\fi}
  83.  
  84. \def\abchapter##1{\ifcase##1Abschnitt\or Absatz\or Anhang\or Teil\fi}
  85.  
  86. }
  87.  
  88. \else
  89.  
  90. \gdef\abetc@german{
  91.  
  92. \def\abphrase##1{%
  93. \ifcase##1{ und }\or{}\or{ u.\thinspace a.}\or{ (Hrsg.)}\or{ (Hrsg.)}\or%
  94. { aus }\or{ in }\or{In }\or{Bd.}\or{Bd.}\or{Nr.}\or{Nr.}\or%
  95. { Aufl.}\or{S.}\or{S.}\or{Kap.}\or%
  96. {Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
  97.  
  98. \def\abmonth##1{\ifcase##1\or Jan.\or Feb.\or M\"arz\or Apr.\or Mai\or
  99.   Juni\or Juli\or Aug.\or Sep.\or Okt.\or Nov.\or Dez.\fi}
  100.  
  101. \def\abedition##1{\ifcase##1\or 1.\or 2.\or 3.\or 4.\or 5.\or
  102.   6.\or 7.\or 8.\or 9.\or 10.\else?\fi}
  103.  
  104. \def\abchapter##1{\ifcase##1Abschn.\or Abs.\or Anh.\or Teil\fi}
  105.  
  106. }
  107.  
  108. \fi
  109. \expandafter\ifx\csname language\endcsname\relax % \ifundefined{language}
  110.   \csname newcount\endcsname\language
  111. \fi
  112. \expandafter\ifx\csname mdqon\endcsname\relax % \ifundefined{mdqon}
  113.   \chardef\USenglish=0
  114.   \chardef\german=1
  115.   \chardef\austrian=1
  116.   \chardef\french=2
  117.   \chardef\english=0
  118.   \language\USenglish
  119. \else
  120.   \expandafter\ifx\csname l@USenglish\endcsname\relax \else
  121.     \chardef\USenglish=\l@USenglish\fi
  122.   \expandafter\ifx\csname l@german\endcsname\relax \else
  123.     \chardef\german=\l@german\fi
  124.   \expandafter\ifx\csname l@austrian\endcsname\relax \else
  125.     \chardef\austrian=\l@austrian\fi
  126.   \expandafter\ifx\csname l@french\endcsname\relax \else
  127.     \chardef\french=\l@french\fi
  128.   \expandafter\ifx\csname l@english\endcsname\relax \else
  129.     \chardef\english=\l@english\fi
  130. \fi
  131. \ifnum\language=\german
  132.   \abtype@german \abetc@german
  133. \else\ifnum\language=\austrian
  134.   \abtype@german \abetc@german
  135. \else
  136.   \abtype@english \abetc@english
  137. \fi\fi
  138. \catcode`\@=\csname__APREAMBLE_TEX\endcsname
  139. \endinput
  140.